<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="description" content="北京乐搏信息技术有限公司"/>
    <meta name="keywords" content="北京乐搏信息技术有限公司"/>
    <title>手机号快捷登录</title>
    <link rel="stylesheet" href={{url_for('static', filename='./css/login1.css' )}}>


    <!-- <script type="text/javascript"> var ROOT_URL = '/mobile/';</script>
    <script src={{url_for('static', filename='./js/login.js' )}}></script> -->

</head>

<body>
<div style="position:absolute; width:100%; height:100%; z-index:-1; left:0; top:0;">
    <img src={{url_for('static', filename='./img/back.png' )}} height="100%" width="100%">
</div>
<div class="d1">
    <div>
        <form action="/commit">
            <p class="label">免密码登录</p>
    </div>
    <div class="input">
        <input id="mobile_phone" name="mobile" class="input1" type="tel" placeholder="手机号"/><span></span>
        <input class="input2" name="mobile_code" nullmsg="请输入短信验证码" placeholder="短信验证码">
        <input type="button" class="code" id="btnCheck" value='获取短信验证码' onclick="settime(this);">
    </div>
    <div class="btn">
        <button class="btn-1" type="submit" onclick="chk();">立即登录</button>
    </div>
    <div class="tips"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;若手机号未注册，则默认注册账号，密码为短信验证码。注册即代表同意《乐搏协议》《隐私保护指引》</div>
</div>
<div>
    <!--    <p><a href='http://shop.pro.17lebo.com/'>点击进入乐搏商城项目</a></p>-->
    <!--    <p><a href='http://shop.pro.17lebo.com/admin.php?s=/admin/logininfo.html'>点击进入乐搏商城后台</a></p>-->
    <!--    <p><a href='http://bbs.pro.17lebo.com/'>点击进入乐搏论坛</a></p>-->
    <!--    <p><a href='./'>点击返回乐搏官网</a></p>-->
</div>
<div class='foot'>
    <p><a href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">关于乐搏</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">联系我们</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">业务合作</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">隐私声明</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">法律公告</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1" target="_blank">退费须知</a> | <a
            href="https://tb.53kf.com/code/client/9da9ca2a8ed612b05b9ef3cf41dbaa066/1"
            target="_blank">北京乐搏信息技术有限公司</a><br/><span>Copyright © 2021 17lebo.com All Rights Reserved 京ICP备17050994号-1 版权所有</span>
    </p>
</div>
</div>
<script type="text/javascript">
    var countdown = 60;

    function settime(val) {
        if (countdown == 0) {
            val.removeAttribute("disabled");
            val.value = "获取短信验证码";
            countdown = 60;
        } else {
            val.setAttribute("disabled", true);
            val.value = "重新发送(" + countdown + ")";
            countdown--;
        }
        setTimeout(function () {
            settime(val)
        }, 1000)
    }
</script>
<script>
        function chk() {
            var tel = document.all("mobile").value;
            if (/^(0|86|17951)?(13[0-9]|15[012356789]|17[0-8]|18[0-9]|14[5679]|19[189]|16[56])[0-9]{8}$/g.test(tel) || (/^15[8,9]d{8}$/g.test(tel))) {
                window.navigate("login.html");
            } else {
                alert("手机号错误");
                window.navigate("login.html");
            }
        }
    </script>

</body>
</html>